package com.scalacore.customercrm.bean

/**
 * @author Gerry chan
 * @version 1.0
 * 2021/01/31
 */
class Customer {
  //属性
  var id:Int = _
  var name:String = _
  var gender:Char = _
  var age:Short = _
  var tel:String = _
  var email:String = _

  //涉及一个，辅助构造器

  def this(id:Int, name:String,gender:Char, age:Short, tel:String, emial:String) {
    this
    this.id = id
    this.name = name
    this.gender = gender
    this.age = age
    this.tel = tel
    this.email = email
  }

}
